package com.jili.aspect;

import com.jili.annotation.Aspect;
import com.jili.annotation.Before;

/**
 *  ClassName: SecurityAspect
 *  Package com.com.jili.aspect
 *  Description:
 *  @Author: 廖继礼
 *  @Create: 2025/6/5
 *  @Version: v1.0
 *
 */
@Aspect("Controller")
public class SecurityAspect {

    @Before("Controller")
    public void checkPermission() {
        System.out.println("[SecurityAspect] Checking user permissions...");
        // 模拟权限检查
        // if (!user.hasPermission()) throw new SecurityException();
    }
}
